// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_dnsbl
// * CreateDate    : 2014-06-05 18:29:56
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:56
// * LastChanger   : 2014-06-05 18:29:56
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmDnsblTable : TableInfo
    {
		public const string C_TableName = "hm_dnsbl";
		
		public const string C_sblid = "sblid";
		public const string C_sblactive = "sblactive";
		public const string C_sbldnshost = "sbldnshost";
		public const string C_sblresult = "sblresult";
		public const string C_sblrejectmessage = "sblrejectmessage";
		public const string C_sblscore = "sblscore";
		
		public HmDnsblTable()
        {
            _tableName = "hm_dnsbl";
        }
		
		protected static HmDnsblTable _current;
        public static HmDnsblTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmDnsblTable();

            _current.Add(C_sblid, new ColumnInfo(C_sblid,"Sblid", true, typeof(int)));
            _current.Add(C_sblactive, new ColumnInfo(C_sblactive,"Sblactive", false, typeof(int)));
            _current.Add(C_sbldnshost, new ColumnInfo(C_sbldnshost,"Sbldnshost", false, typeof(string)));
            _current.Add(C_sblresult, new ColumnInfo(C_sblresult,"Sblresult", false, typeof(string)));
            _current.Add(C_sblrejectmessage, new ColumnInfo(C_sblrejectmessage,"Sblrejectmessage", false, typeof(string)));
            _current.Add(C_sblscore, new ColumnInfo(C_sblscore,"Sblscore", false, typeof(int)));
			
		}
		
		public ColumnInfo sblid
        {
            get { return this[C_sblid]; }
        }
		
		public ColumnInfo sblactive
        {
            get { return this[C_sblactive]; }
        }
		
		public ColumnInfo sbldnshost
        {
            get { return this[C_sbldnshost]; }
        }
		
		public ColumnInfo sblresult
        {
            get { return this[C_sblresult]; }
        }
		
		public ColumnInfo sblrejectmessage
        {
            get { return this[C_sblrejectmessage]; }
        }
		
		public ColumnInfo sblscore
        {
            get { return this[C_sblscore]; }
        }
		
		
		
	}
}

